// room script file

function hHotspot0_Look()
{
  Display("Skolska ploca!");
}

function room_FirstLoad()
{
  Display("O ne, jos jedan skolski dan...");
}

function room_LeaveTop()
{
  Display("Sat jos nije gotov!");
}

function oJoint_Interact()
{
  Display("he he he");
  oJoint.Visible = false;
  player.AddInventory(iJoint);
  GiveScore(10);
}

function on_call(int value)
{
  if (value == 1)
  {
    Wait(3);
    oJoint.Visible = true;
  }
}
